<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="html" uri="/struts-tags"%>
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/theme0.css" rel="stylesheet" type="text/css" />
<html:head theme="xhtml" />
<sx:head parseContent="true" extraLocales="UTF-8" />
<title>Insert title here</title>
</head>
<body>
<div id="main">
    <%@ include file="../Header.jsp" %>
    <div id="middle">
        <c:import url="../Navigation.jsp"></c:import>
        <div id="center-column">
            <div class="top-bar">
                <a href="../SystemManagement/logoutAction.action" class="button">退出</a>
                <h1>首页</h1>
                <div class="breadcrumbs"><a
	href="../SystemManagement/Home.jsp">首页</a>&nbsp;/查找人力资源信息</div>
            </div><br />
            <div class="select-bar">
                <label><input type="text" name="textfield" /></label>
                <label><input type="submit" name="Submit" value="Search" /></label>
            </div>
<p align="center">共找到${requestScope.total}条记录</p>
<div class="table"><img src="images/bg-th-left.gif" width="8"
	height="7" alt="" class="left" /> <img src="images/bg-th-right.gif"
	width="7" height="7" alt="" class="right">
<table class="listing form" cellpadding="0" cellspacing="0">
	<tr>
		<th class="first" width="10%">姓名</th>
		<th width="10%">性别</th>
		<th width="25%">电话</th>
		<th width="45%">地址</th>
		<th class="last" width="10%">详情</th>
	</tr>
</table>
<html:iterator value="humans" status="human">
	<table class="listing form" cellpadding="0" cellspacing="0">
		<tr>

			<td class="first" width="10%"><a
				href="<html:url action="ViewHRRecordDetailAction"><html:param name="humanId" value="humanId"></html:param></html:url>">
			<html:property value="humanName" /></a></td>

			<td class="first" width="10%"><html:property
				value="gender" /></td>


			<td class="first" width="25%"><html:property
				value="phone" /></td>

			<td class="first" width="45%"><html:property
				value="address" /></td>
			<td class="last" width="10%"><a
				href="<html:url action="DelHRRecordAction">
				          <html:param name="humanId" value="humanId"></html:param>
				          <html:param name="pageNow" value="pageNow"></html:param>				          		          			          				      
				      </html:url>">
			删除</a></td>

		</tr>

	</table>

</html:iterator>


<center>共<html:property value="intRowCount" />记录&nbsp;&nbsp; 第<html:property
	value="pageNow" />页&nbsp;&nbsp; <html:url id="url_pre"
	value="SearchHRRecordsAction.action">
	<html:param name="pageNow" value="pageNow-1"></html:param>
	<html:param name="SearchMethod" value="SearchMethod"></html:param>
	<html:param name="humanName" value="humanName"></html:param>
	<html:param name="gender" value="gender"></html:param>
	<html:param name="idNumber" value="idNumber"></html:param>
	<html:param name="account" value="account"></html:param>
	<html:param name="departmentId" value="departmentId"></html:param>
	<html:param name="positionId" value="positionId"></html:param>
	<html:param name="titleId" value="titleId"></html:param>
	<html:param name="department" value="department"></html:param>
	<html:param name="position" value="position"></html:param>
	<html:param name="title" value="title"></html:param>
</html:url> 
<html:url id="url_next" value="SearchHRRecordsAction.action">
	<html:param name="pageNow" value="pageNow+1"></html:param>
	<html:param name="SearchMethod" value="SearchMethod"></html:param>
	<html:param name="humanName" value="humanName"></html:param>
	<html:param name="gender" value="gender"></html:param>
	<html:param name="idNumber" value="idNumber"></html:param>
	<html:param name="account" value="account"></html:param>
	<html:param name="departmentId" value="departmentId"></html:param>
	<html:param name="positionId" value="positionId"></html:param>
	<html:param name="titleId" value="titleId"></html:param>
	<html:param name="department" value="department"></html:param>
	<html:param name="position" value="position"></html:param>
	<html:param name="title" value="title"></html:param>
</html:url> <html:if test="pageNow==1">
	<html:a href="%{url_pre}">最前一页</html:a>
</html:if> <html:else>
	<html:a href="%{url_pre}">上一页</html:a>
</html:else> <html:if test="pageNow==k">
	<html:a href="%{url_next}">最后一页</html:a>
</html:if> <html:else>
	<html:a href="%{url_next}">下一页</html:a>
</html:else></center>
</div>
        </div>
        <%@ include file="../Toolkit.jsp" %>
    </div>
    <%@ include file="../Footer.jsp" %>
</div>
</body>
</html>